home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / C / ASAP / notifyrequest.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-09-04  |  1.2 KB  |  37 lines

  1. /*****************************************************************************
  2.  *                                                                           *
  3.  * ASAP - Amiga Software Authoring Platform                                  *
  4.  *                                                                           *
  5.  * Written by Laurie Perrin                                                  *
  6.  *                                                                           *
  7.  * ANotifyRequest wrapper class                                              *
  8.  *                                                                           *
  9.  *****************************************************************************/
  10.  
  11. #ifndef ASAP_ANotifyRequest_H
  12. #define ASAP_ANotifyRequest_H
  13.  
  14. extern "C"
  15. {
  16.  #include <Proto/DOS.h>
  17. }
  18.  
  19. class ANotifyRequest : public NotifyRequest
  20. {
  21.  public:
  22.  inline void EndNotify();
  23.  inline BOOL StartNotify();
  24. };
  25. //----------------------------------------------------------------------------
  26. void ANotifyRequest::EndNotify ()
  27. {
  28.  ::EndNotify(this);
  29. }
  30. //----------------------------------------------------------------------------
  31. BOOL ANotifyRequest::StartNotify ()
  32. {
  33.  return ::StartNotify(this);
  34. }
  35.  
  36. #endif
  37.